﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDon.OA.Interface.Admin
{
   public interface IDepartmentService
    {
        DepartmentDataCollection GetChildDepartments(Guid departmentId);

        DepartmentDataCollection GetRootDepartments(Guid companyId);

        DepartmentData GetDepartment(Guid departmentId);

        bool RemoveDepartment(Guid departmentId);

        bool CheckDepartmentUsed(Guid departmentId);

        bool AddDepartment(DepartmentData department);

        bool ModifyDepartment(DepartmentData department);
    }
}
